<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="css/index.css">
</head>
<body>
    
<code>
    npm install --save-dev gulp gulp-uglify gulp-minify-css gulp-minify-html jshint gulp-jshint gulp-concat gulp-less gulp-sass gulp-imagemin imagemin-pngquant imagemin-jpeg-recompress gulp-livereload browser-sync
</code>

<pre>
    const imagemin = require('imagemin');
    const imageminJpegRecompress = require('imagemin-jpeg-recompress');
    
    imagemin(['images/*.jpg'], 'build/images', {
        plugins: [
            imageminJpegRecompress()
        ]
    }).then(() => {
        console.log('Images optimized');
    });
</pre>

<script src="js/index.js"></script>
<script src="js/log.js"></script>

</body>
</html>